@import "../font/iconfont.css";
@import "../css/reset.css";
body{
    max-width: 7.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
header{
    width: 7.5rem;
    height: 5.5rem;
    background: linear-gradient(#ff6040,#ff8477);
    padding-top: .43rem;
    box-sizing: border-box;
    position: relative;
    .top{
        height: .64rem;
        display: flex;
        color: #ffdfd8;
        align-items: center;
        h2{
            font-size: .3rem;
            margin: 0 1.55rem 0 3.42rem;
        }
        p{
            width: 1.72rem;
            height: .62rem;
            border: 1px solid #ff8a6f;
            border-radius: .3rem;
            position: relative;
            display: flex;
            justify-content: space-around;
            align-items: center;

            span{
                &:nth-child(1){
                    font-size: .4rem;
                }
                &:nth-child(2){
                    font-size: .3rem;
                }
            }
            
            i{
                width: 1px;
                height: .37rem;
                background:#ff8a6f; 
                position: absolute;
                top: .12rem;
                left: .86rem;
            }
        }
    }
    .middle{
        display: flex;
        padding-left: .18rem;
        align-items: center;
        margin-top: .3rem;
        img{
            width: 1.3rem;
        }
        p{
            display: flex;
            flex-direction: column;
            margin: 0 1.43rem 0 .18rem ;
            span{
                font-size: .32rem;
                color: #fff;
            }
            b{
                width: 2.82rem;
                height: .3rem;
                border: 2px solid #ffb6aa;
                border-radius: .08rem;
                color: #fff;
                font-size: .18rem;
                line-height: .3rem;
                text-align: center;
                margin-top: .2rem;
            }
        }
        em{
            width: 1.52rem;
            height: .42rem;
            background: #ffd5cc;
            border-radius: .16rem 0 0 .16rem;
            font-size: .18rem;
            color: #ff6243;
            line-height: .42rem;
            text-align: center;
        }
    }
    .bottom{
        padding: 0 .2rem;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        margin-bottom: 2.06rem;
        p{
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: .3rem;

            span{
                font-size: .26rem;
                color: #fff;
                font-weight: bold;
                em{
                    font-size: .14rem;
                }
            }
            i{
                font-size: .18rem;
                color: #fffcfc;
            }
        }
    }
    .order{
        width: 7.1rem;
        height: 2.05rem;
        border-radius: .08rem;
        background: #fff;
        position: absolute;
        left: .2rem;
        top: 3.84rem;
        p{
            margin: .2rem .18rem .38rem .2rem;
            span{
                float: left;
                font-size: .3rem;
                color: #333;
                font-weight: bold;
            }
            b{
                float: right;
                font-size: .22rem;
                color: #ff6546;
            }
        }
        ul{
            padding:0 .4rem 0 .55rem; 
            display: flex;
            justify-content: space-between;
            align-items: center;
            li{
                text-align: center;
                img{
                    width: .61rem;
                    margin: 0 auto;
                }
                span{
                    font-size: .18rem;
                    color: #373737;
                }
            }
        }
    }
}

// 内容
#con{
   
    width: 7.5rem;
    height: 4rem;
    background: #fff;
    margin: .71rem 0 5.54rem 0;
    padding: .4rem .19rem .4rem .2rem;
    box-sizing: border-box;
    p{
        margin-bottom: .4rem;
        em{
            float: left;
            font-size: .22rem;
            font-weight: bold;
            color: #333;
            span{
                color: #ff6040;
                font-size: .3rem;
                margin-right: .12rem;
            }
        }
        b{
            float: right;
            font-size: .18rem;
            color: #6c6c6c;
        }
    }
}
// 页脚
footer{
    width: 7.5rem;
    height: 1.52rem;
    display: flex;
    justify-content: space-around;
    padding-top: .14rem;
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-left: -3.75rem;
    background: #fff;
    
    p{
        display: flex;
        flex-direction:column;
        font-size: .18rem;
        color: #a1a1a1;
        text-align: center;

        i{
            font-size: .5rem !important;
            color: #999;
        }

        &.cur{
            color: #ff6040;
            i{
                color: #ff6040;
            }
        }
    }
}
